package com.ruoyi.APPMS.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Logistics implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 物流ID
     */
    @TableId(type= IdType.AUTO)
    private Long logisticsid;

    /**
     * 物流状态
     * 0：运输中
     * 1：已送达
     */
    private Long status;

    /**
     * 车辆ID
     */
    @Excel(name = "车辆ID")
    private Long vehicleid;

    @Excel(name = "订单类型")
    private Long flag;

    /**
     * 部件ID
     */
    @Excel(name = "部件ID")
    private Long partid;

    /**
     * 快递公司
     */
    @Excel(name = "快递公司")
    private String couriercompany;

    /**
     * 快递单号
     */
    @Excel(name = "快递单号")
    private String trackingnumber;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createtime;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间")
    private String modifytime;

    /**
     * 发货时间
     */
    @Excel(name = "发货时间")
    private String shippingtime;

    /**
     * 收货时间
     */
    @Excel(name = "收货时间")
    private String deliverytime;

    /**
     * 删除标记
     */
    @TableLogic
    private Long deleted;
}